package com.olddriver.crm.service;

import com.olddriver.crm.domain.Compensation;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.CompensationQueryObject;

import java.util.List;

public interface ICompensationService {
    void  deleteByPrimaryKey(Long id);

    void insert(Compensation record);

    Compensation selectByPrimaryKey(Long id);

    List<Compensation> selectAll();

    void updateByPrimaryKey(Compensation record);

    PageResult query(CompensationQueryObject qo);

    Compensation getCompensationByAccId(Long id);

}